package cn.neusoft.luofa603.yuejian_29.service;

import java.util.List;

import cn.neusoft.luofa603.yuejian_29.bean.Club;
import cn.neusoft.luofa603.yuejian_29.bean.Course;
import retrofit2.Call;
import retrofit2.http.GET;
import retrofit2.http.Query;

/**
 * Created by Administrator on 2017/10/15.
 */

public interface ClubService {

    @GET("lists/mod/club")
    Call<List<Club>>getClub();

    @GET("nearclub")
    Call<List<Club>>getNearClub();

    @GET("lists/mod/course")
    Call<List<Course>>getCource();

    @GET("create")
    Call<String>joinClub(
            @Query("mod") String mod,
            @Query("club_id")String club_id,
            @Query("SessionID")String SessionID

    );

    @GET("search")
    Call<List<Club>>clubsearch(
            @Query("mod")String mod,
            @Query("search_key")String search_key
    );
}
